package com.internship.dao;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import com.internship.model.Plan;
import com.internship.page.Pagination;

public interface PlanDao {
	public Plan getPlanById(int id);
	public List<Plan>  getPlanList(@Param("DeptCode") String DeptCode ,Pagination page);
	public List<Plan>  getPlanList();
	public int addPlan(Plan plan);
	public int updatePlan(Plan plan);
	public int delPlan(@Param("id") int id);
	public int delAll(String[] ids);

}
